/**
 * 
 */
package es.ats.codington.festival.junit;

import java.util.ArrayList;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import es.ats.codington.festival.domain.Event;
import es.ats.codington.festival.services.EventSingUpService;

/**
 * The Class TEventSingUp.
 *
 * @author 5Cs
 */
public class TEventSingUp extends TestCase{
	
	/**
	 * Sets the up.
	 *
	 * @throws Exception the exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * Tear down.
	 *
	 * @throws Exception the exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	
	


	
	
	
	/**
	 * Test.
	 *
	 * @throws Exception the exception
	 */
	@Test
	public void test() throws Exception {

		
		
	}
	
	
	/**
	 * Test dos.
	 *
	 * @throws Exception the exception
	 */
	@Test
	public void testDos() throws Exception {
		
	EventSingUpService ev = new EventSingUpService();		

	ArrayList<Event> event = new ArrayList<Event>();
	boolean result = ev.visitorInEvent(3, event);
	for (int i = 0; i<event.size(); i++){
	     System.out.println(event.get(i).getName());
	}
	
	}
	
	/**@Test
	public void testDos() throws Exception {
	    
	  EventSingUpService ev = new EventSingUpService(); 

	  ArrayList<Event> event = new ArrayList<Event>();
	  boolean result = ev.visitorInEvent(3, event);
	  for (int i = 0; i<event.size(); i++){
	       System.out.println(event.get(i).getName());
	  }
	  
	} */


}
